package com.hc.dao;

import com.hc.entity.Manager;
import java.util.List;

public interface ManagerDao {

    int insertManager(Manager manager);

    int insertManagerSelective(Manager manager);

	int batchInsertManager(List<Manager> managerList);

    int deleteManagerById(Integer id);

	int deleteManagerByCondition(Manager manager);

	int batchDeleteManagerByIdList(List<Integer> idList);

    int updateManager(Manager manager);

    int updateManagerSelective(Manager manager);

    long selectCount();
    
    long selectCountByCondition(Manager manager);

    Manager selectManagerById(Integer id);

    List<Manager> selectAllManager();

	List<Manager> selectManagerByCondition(Manager manager);

    //////////////////////////// 外键相关 /////////////////////////////////////
    List<Manager> selectManagerByRole(Integer role);

}